package com.dyh.service.serviceImpl;

import com.dyh.service.hospitalService;
import com.dyh.dao.hospitalDao;
import com.dyh.po.hospital;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service("hospitalService")
@Transactional
public class hospitalServiceImpl implements hospitalService {
    @Autowired
    hospitalDao hospitaldao;

    @Override
    public List<hospital> findAllInst() {
        return null;
    }

    @Override
    public int addHospital(String menuname, String menufather, String menuurl) {
        return 0;
    }

    @Override
    public hospital findInstById(String id) {
        return null;
    }

    @Override
    public int editHostpital(String menuid, String menuname, String menufather, String menuurl) {
        return 0;
    }

    @Override
    public int deleteHospital(Long id) {
        return 0;
    }
}
